<?php
namespace catchAdmin\apipatient\validate;

use think\Validate;

class HealthyValidate extends Validate
{
    protected $rule = [
        'id' => 'require',
        'type' => 'require',

    ];

    protected $message = [
        'id.require' => '缺少id参数',
        'type.require' => '缺少type参数',
        'key.require' => '缺少key参数'
    ];

    protected $scene = [
        'get_my_case_detail' => ['id'],
        'get_time_case_report' => ['type'],
        'uploadimg' => ['id'],
        'delimg' => ['id','key']
    ];  
}